load('../src/ph/ph.js');

ph.bootstrap('settings.js');
ph.keepRunning();

dojo.require('jetty.Server');

server = new jetty.Server(8080, jettyResources);

server.register('/echo', function(request, response) {
  response.contentType = 'text/plain';
  response.body = dojo.toJson(request);
});

server.start();
